package Com.amit.IO;

import java.io.BufferedInputStream;
import java.io.FileInputStream;

public class Lab9 {

	public static void main(String[] args) throws Exception {
		
		FileInputStream fin1=new FileInputStream("C:\\Users\\NETA JEE\\Desktop\\Amit.txt");
		BufferedInputStream bin=new BufferedInputStream(fin1);
		
		int i=0;
		while((i=bin.read())!=-1)
		{
			System.out.println((char)i);
		}
		
		bin.close();
	}

}
